XMLDocumentComponent Sample XML File

The following XML is used with the Using the xmlDocumentComponent with Schema topic.

<dsPubs xsi:noNamespaceSchemaLocation="C:\Program Files\OpenSpan\OpenSpan Studio\XML Document 1 Strongly Typed\Pubs1d.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<publishers>

<pub_id>pb100123</pub_id>

<pub_name>Levine</pub_name>

<city>Chicago</city>

<state>IL</state>

<country>USA</country>

<titles>

<title_id>T101</title_id>

<title>HarryPotterAndTheDeathlyHallows</title>

<type>Fiction</type>

<pub_id>pb100123</pub_id>

<price>10</price>

<advance>5000</advance>

<royalty>2000</royalty>

<ytd_sales>2000000</ytd_sales>

<notes>Hardcover</notes>

<pubdate>March, 23 2005</pubdate>

</titles>

<titles>

<title_id>T102</title_id>

<title>TheSwordandtheStone</title>

<type>Fiction</type>

<pub_id>pb100123</pub_id>

<price>23</price>

<advance>1000</advance>

<royalty>500</royalty>

<ytd_sales>12000000</ytd_sales>

<notes>Hardcover, Paperback</notes>

<pubdate>Janauary 15, 2002</pubdate>

</titles>

</publishers>

<publishers>

<pub_id>pb100124</pub_id>

<pub_name>Sterling</pub_name>

<city>Albany</city>

<state>NY</state>

<country>USA</country>

<titles>

<title_id>T103</title_id>

<title>TheStoryofKingArthurandHisKnights</title>

<type>Fiction</type>

<pub_id>pb100123</pub_id>

<price>11</price>

<advance>4000</advance>

<royalty>3000</royalty>

<ytd_sales>250000</ytd_sales>

<notes>Hardback</notes>

<pubdate>January 1, 2001</pubdate>

</titles>

<titles>

<title_id>T104</title_id>

<title>TheExtraordinaryAdventuresofAlfred</title>

<type>Fiction</type>

<pub_id>pb100124</pub_id>

<price>14</price>

<advance>600</advance>

<royalty>400</royalty>

<ytd_sales>22000</ytd_sales>

<notes>Fiction</notes>

<pubdate>June 18, 2006</pubdate>

</titles>

</publishers>

</dsPubs>

 

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 18 June 2020

© 2016 - 2020 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label